package ClientLogic;

/**
 * This class is responsible for dealing with type entries
 
 * @author Andrey
 * @author Igor
 */
public class TypeEntry {
	
	private int value;
	private String label;
	 
	
	/**
	 * This is the constructor
	 * @param id
	 * @param label
	 * 
	 */
	public TypeEntry(int id, String label)
	{
		this.value = id;
		this.label = label;
	}

	
	/**
	 * This is method returns the value
	 *
	 */
	public int getValue()
	{
		return value;
	}
	
	
	/**
	 * This is method returns the label .
	 *
	 */
	public String toString()
	{
		return label;
	}

}
